package com.iwunu.gateway.entity;


import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Getter;
import lombok.Setter;

@Entity
@Getter
@Setter
@Table(name="t_device_inspect_records")
public class InspectRecords {
	@Id
	private Long  id;
	private String deviceId;
	private String name;
    private Date  createTime;
	@Id
	@Column(name = "id",columnDefinition="bigint(18) COMMENT '主键，自动生成'")
	@GeneratedValue(strategy= GenerationType.IDENTITY)
	public Long getId() {
		return id;
	}
}
